﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt
{
	// Token: 0x020000AF RID: 175
	public class TFetchStmt : TCustomSqlStatement
	{
		// Token: 0x06000584 RID: 1412 RVA: 0x002FD22A File Offset: 0x002FB42A
		public TFetchStmt() : this(EDbVendor.dbvoracle)
		{
		}

		// Token: 0x06000585 RID: 1413 RVA: 0x002FD234 File Offset: 0x002FB434
		public TFetchStmt(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sst_fetchstmt;
		}

		// Token: 0x06000586 RID: 1414 RVA: 0x002FD245 File Offset: 0x002FB445
		internal override void buildsql()
		{
		}

		// Token: 0x06000587 RID: 1415 RVA: 0x002FD247 File Offset: 0x002FB447
		internal override void clear()
		{
		}

		// Token: 0x06000588 RID: 1416 RVA: 0x002FD249 File Offset: 0x002FB449
		internal override string getasprettytext()
		{
			return "";
		}

		// Token: 0x06000589 RID: 1417 RVA: 0x002FD250 File Offset: 0x002FB450
		internal virtual void iterate(TVisitorAbs pvisitor)
		{
		}

		// Token: 0x0600058A RID: 1418 RVA: 0x002FD252 File Offset: 0x002FB452
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			base.doParseStatement(psql);
			return 0;
		}

		// Token: 0x170000DE RID: 222
		// (get) Token: 0x0600058B RID: 1419 RVA: 0x002FD25D File Offset: 0x002FB45D
		// (set) Token: 0x0600058C RID: 1420 RVA: 0x002FD265 File Offset: 0x002FB465
		public virtual TObjectName CursorName
		{
			get
			{
				return this.cursorName;
			}
			set
			{
				this.cursorName = value;
			}
		}

		// Token: 0x170000DF RID: 223
		// (get) Token: 0x0600058D RID: 1421 RVA: 0x002FD26E File Offset: 0x002FB46E
		// (set) Token: 0x0600058E RID: 1422 RVA: 0x002FD276 File Offset: 0x002FB476
		public virtual TExpressionList VariableNames
		{
			get
			{
				return this.variableNames;
			}
			set
			{
				this.variableNames = value;
			}
		}

		// Token: 0x0600058F RID: 1423 RVA: 0x002FD27F File Offset: 0x002FB47F
		public override void init(object arg1, object arg2)
		{
			this.cursorName = (TObjectName)arg1;
			this.variableNames = (TExpressionList)arg2;
		}

		// Token: 0x06000590 RID: 1424 RVA: 0x002FD299 File Offset: 0x002FB499
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06000591 RID: 1425 RVA: 0x002FD2A9 File Offset: 0x002FB4A9
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x0400114A RID: 4426
		private TObjectName cursorName;

		// Token: 0x0400114B RID: 4427
		private TExpressionList variableNames;
	}
}
